home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 1.toast / Sample Code / Archive / Games / InputSprocketPPTest / ISPElementView.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-09-28  |  1.7 KB  |  69 lines  |  [TEXT/CWIE]

  1. /*
  2.     File:        ISpElementView.h
  3.  
  4.     Contains:    xxx put contents here xxx
  5.  
  6.     Version:    xxx put version here xxx
  7.  
  8.     Copyright:    © 1998 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     File Ownership:
  11.  
  12.         DRI:                xxx put dri here xxx
  13.  
  14.         Other Contact:        xxx put other contact here xxx
  15.  
  16.         Technology:            xxx put technology here xxx
  17.  
  18.     Writers:
  19.  
  20.         (BWS)    Brent Schorsch
  21.         (sjb)    Steve Bollinger
  22.  
  23.     Change History (most recent first):
  24.  
  25.          <4>     7/17/98    BWS        add header and change creator for SDK
  26.          <3>     6/18/98    sjb        InputSprocket.h comes from <> place
  27. */
  28.  
  29. /*************************************************************************************
  30.  
  31. File:      ISpElementView.h
  32.  
  33. Copyright © 1996, 1997, 1998 Apple Computer, Inc., All Rights Reserved
  34.  
  35.  
  36. You may incorporate this sample code into your applications without
  37. restriction, though the sample code has been provided "AS IS" and the
  38. responsibility for its operation is 100% yours.  However, what you are
  39. not permitted to do is to redistribute the source as "DSC Sample Code"
  40. after having made changes. If you're going to re-distribute the source,
  41. we require that you make it clear in the source that the code was
  42. descended from Apple Sample Code, but that you've made changes.
  43.  
  44. *************************************************************************************/
  45.  
  46. #pragma once
  47.  
  48. #include <LPane.h>
  49. #include <LPeriodical.h>
  50. #include <LOffscreenView.h>
  51. #include <InputSprocket.h>
  52.  
  53. class ISpElementView : public LOffscreenView, LPeriodical
  54. {
  55. public:
  56.     enum {class_ID = 'ISpv'};
  57.     
  58.     ISpElementView(LStream *inStream);
  59.     ~ISpElementView();
  60.     
  61.     static ISpElementView *CreateISpElementViewStream(LStream *inStream);
  62.     void SpendTime(const EventRecord &inMacEvent);
  63.     void DrawSelf();
  64.     
  65.     
  66. private:
  67.  
  68. };
  69.